package com.space.user.domain.account.repository;

import com.space.user.domain.account.entity.UserAccount;
import com.space.user.domain.account.valueobject.UserId;
import lombok.NonNull;

/**
 * @author <a href="mailto:414563035@qq.com">Bedroom</a>
 * @date 2021/4/26 3:39 下午
 */
public interface UserAccountRepository {
    /**
     * aaa
     * @param userId
     * @return
     */
    @NonNull
    UserAccount find(UserId userId);

    void save(UserAccount userAccount);
}
